8. Networking

8.1 Networking Model

The chart supports mutually exclusive Traefik and OpenShift ingress modes. It renders Traefik IngressRoute and Middleware resources when ingress.enabled=true, or OpenShift Route resources when ingressHa.enabled=true.

Traffic flow:

  • users access IX25 through Traefik or the OpenShift HAProxy router

  • the selected ingress layer routes traffic to application services by host and path

  • application services communicate internally through Kubernetes Services

  • optional administration endpoints are exposed on subdomains only when enabled

8.2 Public Endpoints

The main externally exposed host is:

Kopieren
https://<baseDomain>/

Main route paths:

Endpoint Target service Notes
/ static frontend browser-facing application
/config.json static config frontend runtime config
/auth Keycloak authentication and OIDC
/api/app app builder backend prefix stripped
/api/portal app portal backend prefix stripped
/api/data data builder backend prefix stripped
/api/process process builder backend prefix stripped
/api/studio studio backend prefix stripped
/api/storage file storage service prefix stripped
/api/assistant assistant prefix stripped

8.3 Routing Behavior

The chart creates one main application IngressRoute, one prefix-stripping middleware for most API routes, and optional routes for Grafana, pgAdmin, and RustFS.

Example:

  • public request: https://ix25.example.com/api/studio/...

  • backend receives: /...

For OpenShift, set ingress.enabled=false and ingressHa.enabled=true. The chart renders one Route per public path and adds the HAProxy rewrite annotation to /api/* routes. Both ingress modes may be disabled, but cannot both be enabled.

8.4 TLS Expectations

When TLS is enabled, the chart expects a Secret in the release namespace:

Kopieren
ingress:
  enabled: true
  tls:
    enabled: true
    secretName: ix25-tls

The customer must create and renew the certificate outside the chart.

OpenShift edge TLS uses the router's default certificate when ingressHa.tls.secretName is empty. A custom certificate is referenced from a kubernetes.io/tls Secret:

Kopieren
ingress:
  enabled: false
ingressHa:
  enabled: true
  tls:
    enabled: true
    secretName: ix25-tls
    routerRbac:
      create: true
      serviceAccountNamespace: openshift-ingress
      serviceAccountName: router

The chart uses Route.spec.tls.externalCertificate and grants the configured router ServiceAccount read access to that Secret by default. The Helm installation identity must also be allowed to read the Secret and manage custom-host Routes. The certificate must cover the base domain and all enabled optional subdomains.

8.5 Internal Service Communication

Internal dependencies use Kubernetes Services for bundled mode. Common internal traffic includes:

  • application services to PostgreSQL

  • application services to Keycloak

  • application services to NATS

  • studio and data builder to Vault

  • file storage service to RustFS, AWS S3, or filesystem storage

  • application services to the configured telemetry endpoint

Application pods use init containers to wait for required dependencies before starting.

The Studio CLI initialization Job is internal-only. It waits for the Studio health endpoint, connects to the Studio Service over gRPC port 50051, and requests an access token from the effective Keycloak token endpoint. It has no Service, IngressRoute, or OpenShift Route.

8.6 Optional Endpoint Exposure

Optional endpoints are disabled by default or should remain disabled unless needed:

Kopieren
ingress:
  grafana:
    enabled: false
  rustfs:
    enabled: false
  pgadmin:
    enabled: false

When exposing optional endpoints, apply a Traefik middleware:

Kopieren
ingress:
  grafana:
    enabled: true
    middlewares:
      - corporate-auth@kubernetescrd

Optional endpoints:

  • https://grafana.<baseDomain>

  • https://pgadmin.<baseDomain>

  • https://rustfs.<baseDomain>

The OpenShift equivalents are controlled through ingressHa.grafana.enabled, ingressHa.pgadmin.enabled, and ingressHa.rustfs.enabled.

8.7 DNS Guidance

The chart does not create DNS records. Configure DNS so the required hostnames resolve to the selected Traefik or OpenShift router entrypoint.

Required:

  • <baseDomain>

Optional:

  • grafana.<baseDomain>

  • pgadmin.<baseDomain>

  • rustfs.<baseDomain>

8.8 NetworkPolicy Guidance

The chart does not currently ship default NetworkPolicy resources. If your cluster enforces network isolation, create customer policies that allow only required traffic.

Plan for:

  • ingress from the selected ingress-controller namespace to IX25 web-facing services

  • application traffic to PostgreSQL, Keycloak, NATS, Vault, and RustFS

  • egress to DNS

  • egress to external PostgreSQL, external Vault, S3, and observability backends

Start with a default-deny policy only after validating required flows in staging.

8.9 Networking Troubleshooting

Start with:

Kopieren
kubectl -n ix25 get ingressroutes.traefik.io
oc -n ix25 get routes.route.openshift.io
kubectl -n ix25 get services
kubectl -n ix25 get endpoints
kubectl -n ix25 get pods

Verify:

  • DNS resolves to the correct Traefik or OpenShift router endpoint.

  • The TLS Secret exists and covers the hostname.

  • The CRDs for the selected ingress mode are installed.

  • The OpenShift router can read the custom certificate Secret when configured.

  • Backend Services have Ready endpoints.

  • External dependencies are reachable from the cluster.